package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesSaleOrderDTO;
import com.hunttown.mes.rpc.domain.query.MesSaleOrderDTOQuery;

import java.util.List;
import java.util.Map;

/**
 * created by wangjunfu on 2022-03-30 15:35:25
 */
public interface MesSaleOrderRpcService {

    MesSaleOrderDTO insert(MesSaleOrderDTO mesSaleOrderDTO);

    Boolean updateInfoById(MesSaleOrderDTO mesSaleOrderDTO);

    Boolean updateInfoByQuery(MesSaleOrderDTOQuery mesSaleOrderDTOQuery);

    MesSaleOrderDTO selectById(Integer id);

    MesSaleOrderDTO selectObjByQuery(MesSaleOrderDTOQuery mesSaleOrderDTOQuery);

    Page<MesSaleOrderDTO> getListForPage(MesSaleOrderDTOQuery mesSaleOrderDTOQuery);

    Boolean deleteById(Integer id);

    Long countByQuery(MesSaleOrderDTOQuery mesSaleOrderDTOQuery);

    List<Map<String, String>> getMapDataByQuery(MesSaleOrderDTOQuery mesSaleOrderDTOQuery, String element);
}